package edu.sctu.practice.class01.zhoudie.test26;

/**
 * Created by Administrator on 2015-11-12.
 */
public abstract class Role {
    private String name;
    private int age;
    private String sex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    public abstract void play();
    public  int Role(int age){
        return age;
    }
    public  String Role(String name){
        return name;
    }
}
